<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="https://unpkg.com/vue-codemirror-lite/dist/vuecodemirror.min.js"></script>
</head>

<body>

    <div id="app">
        <codemirror :value="code"></codemirror>

    </div>

    <script src="../src/lib/jquery.js"></script>
    <script src="../src/lib/vue.js"></script>

    <script>

        Vue.component('codemirror', VueCodeMirror.codemirror)

        var app = new Vue({
            data: {
                code: '待办邮件'

            },
            computed: {

            }
        }).$mount('#app')



    </script>

</body>

</html>